package net.huashitong.supervision.task.controller;

import com.sirdc.modules.core.web.JsonBaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created with IntelliJ IDEA.
 * User: ling
 * Date: 2019/12/24
 * Time: 17:33
 * To change this template use File | Settings | File Templates.
 * Description:领导角色controller
 */
@Controller
@RequestMapping(value = "/leader")
public class LeaderController extends JsonBaseController {
    @Override
    protected String getView(String s) {
        return "/modules/task/leader";
    }

    /**
     * 领导立项页面
     * @return
     */
    @RequestMapping(value = "/createTask",method = RequestMethod.GET)
    public String createTask(){
        return getView("createTask");
    }

    /**
     * 呈阅件页面
     * @return
     */
    @RequestMapping(value = "readDoc",method = RequestMethod.GET)
    public String readDoc(){
        return getView("readDoc");
    }
    @RequestMapping(value = "collect",method = RequestMethod.GET)
    public String collect(){
        return getView("collect");
    }
}
